diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-26 21:16:03 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-26 21:16:03 +0100 |
| commit | 90afeef2a50e017be593267c8420df410b2cef7f (patch) | |
| tree | 6dfa4b73462d61c91ddd87bfa92243bfbbaef59b /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 70fec4f9190b98ea2f27ce9e3a1ff974c8072549 (diff) | |
Add WASM code gen for call instruction with no args
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 7 insertions, 6 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index f551d9c3..61e2d6bf 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -5,10 +5,11 @@ Section Details: Type[1]: - type[0] () -> nil +Import[2]: + - table[0] type=funcref initial=0 <- env.__indirect_function_table + - memory[0] pages: initial=9 <- env.__linear_memory Function[1]: - func[0] sig=0 <f> -Memory[1]: - - memory[0] pages: initial=9 Code[1]: - func[0] size=8 <f> Data[1]: @@ -27,10 +28,10 @@ Custom: Custom: - name: "reloc.CODE" - relocations for section: 3 (Code) [1] - - R_WASM_MEMORY_ADDR_SLEB offset=0x000008(file=0x000031) symbol=1 <string__0> + - R_WASM_MEMORY_ADDR_SLEB offset=0x000008(file=0x000068) symbol=1 <string__0> Code Disassembly: -00002f func[0] <f>: - 000030: 41 80 80 80 80 00 | i32.const 0 - 000036: 0b | end
\ No newline at end of file +000066 func[0] <f>: + 000067: 41 80 80 80 80 00 | i32.const 0 + 00006d: 0b | end
\ No newline at end of file |
